var param = getParams();
var vue = new Vue({
    el:"#app",
    data:{
        user:{},
        users:[],
        totalView:0,
        todayView:0
    },
    methods:{

    },
    filters:{

    },
    mounted:function () {
       ajaxGet("/users/homepage",{userId:param.userId}, function (data) {
           var map = data.data;
           vue.user = map.user;
           vue.users = map.users;
           vue.totalView = map.totalView;
           vue.todayView = map.todayView;
           console.log(vue.totalView);
       })
    }
});

